

export interface IList<T = any> {
    save(): void;

    clear(): void;


    getValue(): T[]

    setValue(v: T[], isSave?: boolean): void;

    has(v: T): boolean

    get(index: number): T

    size(): number

    push(value: T, save?: boolean): void;

    set(index: number, data: T, save?: boolean): void;

    remove(index: number): void

    hasData(): boolean
}